package com.dao;

import com.bean.User;

import java.util.List;
import java.util.Map;

/**
 * The interface User dao.
 */
public interface UserDao {
    /**
     * Query all list.
     *
     * @return the list
     */
    List<User> queryAll();

    int insertMessage1(User user);

    int insertMessage(Map<String, Object> map);

    int updateMessage(User user);

    int deleteMessage(String userName);
}
